/* register.css */
body {
    background-color: #f4f6f8;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

form {
    background-color: #fff;
    padding: 35px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 340px;
    box-sizing: border-box;
    text-align: center;
}

h2 {
    margin-bottom: 25px;
    color: #333;
}

label {
    display: block;
    text-align: left;
    margin: 15px 0 5px;
    font-size: 1rem;
    color: #555;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1.8px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

input:focus {
    border-color: #4a90e2;
    outline: none;
}

button {
    width: 100%;
    padding: 12px 0;
    margin-top: 20px;
    background-color: #4a90e2;
    color: white;
    font-size: 1.1rem;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #357ABD;
}

.error-message {
    color: red;
    margin-top: 15px;
    font-size: 0.95rem;
}

.link {
    margin-top: 20px;
}

.link a {
    text-decoration: none;
    color: #4a90e2;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.link a:hover {
    color: #357ABD;
}
